package com.ruoyi.system.api.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单统计对象 car_orders
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class CarOrdersCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单唯一标识（主键） */
    @Excel(name = "订单唯一标识", readConverterExp = "主=键")
    private Long ordId;

    /** 订单编号，用于业务逻辑的唯一标识 */
    @Excel(name = "订单编号，用于业务逻辑的唯一标识")
    private String ordNumber;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String ordServiceName;

    /** 服务编码，用于唯一标识服务 */
    @Excel(name = "服务编码，用于唯一标识服务")
    private String ordServiceCode;

    /** 买家信息 */
    @Excel(name = "买家信息")
    private String ordBuyer;

    /** 商家信息 */
    @Excel(name = "商家信息")
    private String ordSeller;

    /** 订单原价 */
    @Excel(name = "订单原价")
    private BigDecimal ordOriginalPrice;

    /** 订单优惠金额 */
    @Excel(name = "订单优惠金额")
    private BigDecimal ordDiscount;

    /** 订单实付金额 */
    @Excel(name = "订单实付金额")
    private BigDecimal ordActualPrice;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String ordStatus;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordAppointmentTime;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordOrderTime;

    /** 核销编码，用于验证订单 */
    @Excel(name = "核销编码，用于验证订单")
    private String ordVerificationCode;

    public void setOrdId(Long ordId) 
    {
        this.ordId = ordId;
    }

    public Long getOrdId() 
    {
        return ordId;
    }
    public void setOrdNumber(String ordNumber) 
    {
        this.ordNumber = ordNumber;
    }

    public String getOrdNumber() 
    {
        return ordNumber;
    }
    public void setOrdServiceName(String ordServiceName) 
    {
        this.ordServiceName = ordServiceName;
    }

    public String getOrdServiceName() 
    {
        return ordServiceName;
    }
    public void setOrdServiceCode(String ordServiceCode) 
    {
        this.ordServiceCode = ordServiceCode;
    }

    public String getOrdServiceCode() 
    {
        return ordServiceCode;
    }
    public void setOrdBuyer(String ordBuyer) 
    {
        this.ordBuyer = ordBuyer;
    }

    public String getOrdBuyer() 
    {
        return ordBuyer;
    }
    public void setOrdSeller(String ordSeller) 
    {
        this.ordSeller = ordSeller;
    }

    public String getOrdSeller() 
    {
        return ordSeller;
    }
    public void setOrdOriginalPrice(BigDecimal ordOriginalPrice) 
    {
        this.ordOriginalPrice = ordOriginalPrice;
    }

    public BigDecimal getOrdOriginalPrice() 
    {
        return ordOriginalPrice;
    }
    public void setOrdDiscount(BigDecimal ordDiscount) 
    {
        this.ordDiscount = ordDiscount;
    }

    public BigDecimal getOrdDiscount() 
    {
        return ordDiscount;
    }
    public void setOrdActualPrice(BigDecimal ordActualPrice) 
    {
        this.ordActualPrice = ordActualPrice;
    }

    public BigDecimal getOrdActualPrice() 
    {
        return ordActualPrice;
    }
    public void setOrdStatus(String ordStatus) 
    {
        this.ordStatus = ordStatus;
    }

    public String getOrdStatus() 
    {
        return ordStatus;
    }
    public void setOrdAppointmentTime(Date ordAppointmentTime) 
    {
        this.ordAppointmentTime = ordAppointmentTime;
    }

    public Date getOrdAppointmentTime() 
    {
        return ordAppointmentTime;
    }
    public void setOrdOrderTime(Date ordOrderTime) 
    {
        this.ordOrderTime = ordOrderTime;
    }

    public Date getOrdOrderTime() 
    {
        return ordOrderTime;
    }
    public void setOrdVerificationCode(String ordVerificationCode) 
    {
        this.ordVerificationCode = ordVerificationCode;
    }

    public String getOrdVerificationCode() 
    {
        return ordVerificationCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordId", getOrdId())
            .append("ordNumber", getOrdNumber())
            .append("ordServiceName", getOrdServiceName())
            .append("ordServiceCode", getOrdServiceCode())
            .append("ordBuyer", getOrdBuyer())
            .append("ordSeller", getOrdSeller())
            .append("ordOriginalPrice", getOrdOriginalPrice())
            .append("ordDiscount", getOrdDiscount())
            .append("ordActualPrice", getOrdActualPrice())
            .append("ordStatus", getOrdStatus())
            .append("ordAppointmentTime", getOrdAppointmentTime())
            .append("ordOrderTime", getOrdOrderTime())
            .append("ordVerificationCode", getOrdVerificationCode())
            .toString();
    }
}
